package application.model
{
	import org.puremvc.interfaces.IProxy;
	import org.puremvc.patterns.proxy.Proxy;
	
	public class FlashVarsProxy extends Proxy implements IProxy
	{
		public static const NAME:String = "FlashVarsProxy";
		
		public static const DEFAULT_PATH:String = "http://www.helpexamples.com/flash/video/water.flv";
		
		public function FlashVarsProxy(flashvars:Object)
		{
			super( NAME, new Object );
			
			this.data = flashvars;
			
			if ( this.data.path == null )
			{
				this.data.path = FlashVarsProxy.DEFAULT_PATH;
			}
		}
	}
}